package org.jeecg.wms.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 原材料主数据
 * @Author: LiCY
 * @Date:   2024-12-31
 * @Version: V1.0
 */
@Data
@TableName("wms_partdata_cfg")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="wms_partdata_cfg对象", description="原材料主数据")
public class WmsPartdataCfg implements Serializable {
    private static final long serialVersionUID = 1L;

	/**料号*/
	@Excel(name = "料号", width = 15)
    @ApiModelProperty(value = "料号")
    @TableId
    private String partno;
    /**版本*/
    @Excel(name = "版本", width = 10)
    @ApiModelProperty(value = "版本")
    private String rev;
	/**料号组*/
    @ApiModelProperty(value = "料号组")
    private String pnGroup;
	/**名称*/
	@Excel(name = "名称", width = 30)
    @ApiModelProperty(value = "名称")
    private String name;
	/**规格*/
	@Excel(name = "规格", width = 30)
    @ApiModelProperty(value = "规格")
    private String spec;
	/**ERP编号*/
	@Excel(name = "图号", width = 20)
    @ApiModelProperty(value = "图号")
    private String erpno;
	/**客户料号*/
	@Excel(name = "客户料号", width = 15)
    @ApiModelProperty(value = "客户料号")
    private String custPartno;
	/**物料有效期(单位:天)*/
	@Excel(name = "物料有效期(天)", width = 10)
    @ApiModelProperty(value = "物料有效期(天)")
    private BigDecimal period;
    /**物料有效期(单位:天)*/
    @Excel(name = "复检有效期(天)", width = 10)
    @ApiModelProperty(value = "复检有效期(天)")
    private BigDecimal reperiod;
	/**成本*/
	@Excel(name = "成本", width = 15)
    @ApiModelProperty(value = "成本")
    private BigDecimal cost;
	/**包装单位*/
	@Excel(name = "包装单位", width = 15)
    @ApiModelProperty(value = "包装单位")
    private String unit;
	/**包装数量*/
	@Excel(name = "包装数量", width = 15)
    @ApiModelProperty(value = "包装数量")
    private BigDecimal unitQty;
	/**小容器数量*/
    @ApiModelProperty(value = "小容器数量")
    private BigDecimal lunitQty;
	/**是否产成品*/
	@Excel(name = "是否产成品（0否1是）", width = 15)
    @ApiModelProperty(value = "是否产成品")
    private String fg;
	/**批次标签模板文件路径*/
    @ApiModelProperty(value = "批次标签模板文件路径")
    private String labelPath;
}
